/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime;

import java.util.HashMap;

/**
 *
 * @author oiprado
 */
public class FARMCodeContext extends HashMap<String, Object> {
    
    public static final String HOST = "com.farmcode.runtime.host";
    public static final String USER = "com.farmcode.runtime.user";
    public static final String PASSWORD = "com.farmcode.runtime.password";
    public static final String SCHEMA = "com.farmcode.runtime.schema";
    public static final String DRIVER = "com.farmcode.runtime.driver"; 
    public static final String METADATA = "com.farmcode.runtime.metadata"; 
    public static final String MAPPING = "com.farmcode.runtime.mapping"; 
    public static final String TEMPLATES = "com.farmcode.runtime.templates"; 
    public static final String RELATIVE_PATH = "com.farmcode.runtime.parser.relativePath"; 
    public static final String TEMPLATE_PATH = "com.farmcode.runtime.parser.templatePath";
    public static final String MATCH_CONTEXT = "com.farmcode.runtime.parser.matchContext";
    public static final String OUTPUT_PATH = "com.farmcode.runtime.parser.outputPath";
    public static final String PROJECT_NAME = "com.farmcode.runtime.parser.projectName";
    public static final String DATABASE = "com.farmcode.database.NAME";
    public static final String LANGUAGE = "com.farmcode.language.NAME";
    public static final String CLASS_TYPE ="com.farmcode.database.classType";
    public static final String TYPES ="com.farmcode.database.types";
    public static final String OBJECT_TYPE = "com.farmcode.objectinfo.objectType";
    public static final String OBJECT_INFO_PLUGIN_MANAGER = "com.farmcode.objectinfo.pluginManager";
    
    public FARMCodeContext(){
        super();
    }
    
    public FARMCodeContext(HashMap context){
        super();
        for (Object key : context.keySet()) {
            put((String)key, context.get(key));
        }
    }
    
}
